Mr. Musk said news that he would resign from the US Department of Government Effectiveness was "fake news".